home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr50
/
pbc22b.zip
/
PBC$BAS.ZIP
/
GETLABL2.BAS
< prev
next >
Wrap
BASIC Source File
|
1993-01-01
|
672b
|
18 lines
' +----------------------------------------------------------------------+
' | |
' | PBClone Copyright (c) 1990-1993 Thomas G. Hanlin III |
' | |
' +----------------------------------------------------------------------+
DECLARE SUB GetLabel (Drive$, Label$, LabelLen%, ErrCode%)
FUNCTION GetLabel2$ (Drive$)
Label$ = SPACE$(11)
GetLabel Drive$, Label$, LLen%, ErrCode%
IF ErrCode% THEN
GetLabel2$ = ""
ELSE
GetLabel2$ = LEFT$(Label$, LLen%)
END IF
END FUNCTION